/* 登录 */
nav {
  background-color: rgb(51, 51, 51);
}

.page ul {
  display: flex;
}

.xtxLogin ul {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: flex-end;
}

.xtxLogin ul li {
  padding: 0 20px;
  cursor: pointer;
  align-self: center;
  border-right: 2px solid rgb(102, 102, 102);
}

.xtxLogin ul li a:hover {
  color: rgb(39, 186, 155);
}

.xtxLogin ul li a {
  color: rgb(205, 205, 195);
}

.xtxLogin ul li:last-child {
  color: rgb(205, 205, 195);
}

.xtxLogin ul li:last-child:hover {
  color: rgb(39, 186, 155);
}

/* 首页 */
.roof {
  background-color: #fff;
  height: 140px;
}

.xtxHomepage {
  margin-top: 20px;
}

.xtxHomepage .page {
  position: relative;
  display: flex;
}

.xtxHomepage .page .topLogo {
  width: 200px;
}

.xtxHomepage .page .topLogo img {
  height: 130px;
}

.xtxHomepage .page div:nth-child(2) ul {
  width: 800px;
  line-height: 130px;
  font-size: 16px;
  display: flex;
  justify-content: space-around;
}

.disabled .shoppingTop {
  margin-left: 20px;
}

.xtxHomepage .page div:nth-child(2) ul a.active {
  color: rgb(39, 186, 155);
  border-bottom: 1px solid rgb(39, 186, 155);
  padding-bottom: 10px;
}

.disabled {
  box-sizing: border-box;
  margin: 54px auto;
  width: 200px;
  height: 40px;
  position: relative;
}

.xtxHomepage .page .search {
  position: relative;
}

.xtxHomepage .page .search input {
  border: 0;
  border-bottom: 1px solid rgb(231, 231, 231);
  width: 140px;
  margin-left: 10px;
  padding-left: 20px;
}

.xtxHomepage .page .search i {
  font-size: 22px;
  position: absolute;
  top: -3px;
  right: 170px;
}


.xtxHomepage .font {
  position: absolute;
  top: -1px;
  right: 7px;

}

.xtxHomepage .font i {
  font-size: 20px;
}



.xtxHomepage .page .font em {
  font-style: normal;
  position: absolute;
  right: -12px;
  top: -2px;
  padding: 1px 6px;
  line-height: 1;
  background-color: #e26237;
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  font-family: Arial;
}




.xtxHomepage .triangle {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom: 10px solid white;
}

.xtxHomepage .box {
  display: none;
  transition: all .4s .2s;
  width: 400px;
  height: 400px;
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
  background: #fff;
  border-radius: 4px;
  padding-top: 10px;
  position: absolute;
  right: -1px;
  top: 38px;
  z-index: 1100;
  /* 把他的层级调低 */
  box-sizing: border-box;
}

.box .list {
  height: 310px;
  overflow: auto;
  padding: 0 10px;
}

.box .item {
  border-bottom: 1px solid #f5f5f5;
  padding: 10px 0;
  position: relative;
}

.box .item a {
  display: flex;
  align-items: center;
}

.box .item a img {
  width: 80px;
  height: 80px;
}

.box .list .item i {
  position: absolute;
  bottom: 38px;
  right: 0;
  opacity: 0;
  color: #666;
  transition: all .5s;
  font-size: 12px;
  cursor: pointer;
}

.box .list .item:hover i {
  opacity: 1;
  transition: all .5s;
}

.box .center {
  padding: 0 10px;
  width: 200px;
}

.box .center .name {
  font-size: 16px;
}

.box .center .attr {
  color: #999;
  padding-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box .right .price {
  font-size: 16px;
  color: #cf4444;
}

.box .right .count {
  color: #999;
  margin-top: 5px;
  font-size: 16px;
}

.box .foot {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 70px;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  background: #f8f8f8;
  align-items: center;
}

.box .total {
  padding-left: 10px;
  color: #999;
}

.box .total .price {
  font-size: 18px;
  color: #cf4444;
}

.box button {
  width: 180px;
  height: 50px;
  font-size: 16px;
  border: none;
  border: 1px solid #27ba9b;
  ;
  color: #27ba9b;
  background: #e6faf6;
  border-radius: 4px;
  cursor: pointer;
}

.xtxHomepage ul {
  position: relative;
}

.xtxBanner .layer {
  width: 1002px;
  height: 500px;
  background: hsla(0, 0%, 100%, .8);
  position: absolute;
  left: 214px;
  top: 0;
  opacity: 0;
  padding: 0 15px;
  z-index: 999;
}

.xtxBanner .layer h4 {
  font-size: 20px;
  font-weight: 400;
  line-height: 80px;
}

.xtxBanner .layer span {
  font-size: 16px;
  color: #666;
}

.xtxBanner .layer ul {
  display: flex;
  flex-wrap: wrap;
}

.xtxBanner .layer li {
  width: 297px;
  height: 120px;
  margin-right: 15px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
}

.xtxBanner .goods-item a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 10px;
  justify-content: space-evenly;
}

.xtxBanner .goods-item li:hover {
  background-color: #e3f9f4;
}

.xtxBanner .goods-item img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: contain;
}

.xtxBanner .info {
  padding-left: 10px;
  line-height: 24px;
  width: 190px;
}

.xtxBanner .info .name {
  font-size: 16px;
  color: #666;

}

.xtxBanner .info .desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #666;
}

.xtxBanner .info .price {
  font-size: 22px;
  color: #cf4444;
}

.xtxBanner .info .price i {
  font-size: 16px;
}

/*   隐藏首页 */
.xtxPage {
  width: 100%;
  height: 80px;
  position: fixed;
  left: 0;
  top: -90px;
  z-index: 999;
  background-color: #fff;
  border-bottom: 1px solid #e4e4e4;
  transform: translateY(-100%);
  opacity: 0;
  transition: all .3s linear;
  transform: none;
}

.xtxPage .xthShow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 10px;

}

.xtxPage .xthShow div:first-child {
  width: 200px;
}

.xtxPage .xthShow div:first-child img {
  display: block;
  width: 150px;
  height: 70px;
  object-fit: contain;
}

.xtxPage .xthShow ul {
  width: 1020px;
  display: flex;
  justify-content: space-around;
  padding-left: 40px;
  position: relative;
  z-index: 999;
}

.xtxPage .xthShow ul li {
  margin-right: 40px;
  width: 38px;
  text-align: center;
}

.xtxPage .xthShow .right {
  width: 220px;
  display: flex;
  text-align: center;
  border-left: 2px solid #27ba9b;
}

.xtxPage .xthShow .right a:hover {
  color: #27ba9b;
}

.xtxPage .xthShow .right a {
  margin-left: 20px;
}

.xtxPage ul a.active {
  color: rgb(39, 186, 155);
  border-bottom: 1px solid rgb(39, 186, 155);
  padding-bottom: 10px;
}








/*   轮播图  侧边栏 */
.xtxBanner {
  display: flex;
  position: relative;
}

.xtxBanner .aside {
  width: 230px;
  background-color: rgb(48, 42, 43, .9);
  position: absolute;
  margin-top: 5px;
}

.xtxBanner .aside li {
  height: 48px;
  line-height: 49px;
  padding-left: 25px;
}

.xtxBanner .aside li a {
  color: #fff;
  font-size: 12px;
}

.xtxBanner .aside li a:first-child {
  font-size: 16px;
}

.xtxBanner .aside li:hover {
  background-color: rgb(39, 186, 155);
}

/*   轮播图  */
.bannerPicture ul {
  display: flex;
  width: 1200px;
}

.bannerPicture ul img {
  width: 1200px;
  height: 100%;
}

.banner .toggle .prev {
  width: 50px;
  height: 50px;
  background-color: rgb(198, 198, 198, .5);
  display: inline-block;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 20px;
  position: absolute;
  right: 30px;
  top: 50%;
  cursor: pointer;
  /* display: none; */
}

.banner .toggle .next {
  width: 50px;
  height: 50px;
  background-color: #ff3040;
  background-color: rgb(198, 198, 198, .5);
  display: inline-block;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 20px;
  position: absolute;
  left: 21%;
  top: 50%;
  cursor: pointer;
  /* display: none; */
}

.bannerIndicator {
  position: relative;
}

.bannerIndicator ul {
  display: flex;
  position: absolute;
  top: -60px;
  left: 50%;
}

.bannerIndicator ul li {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-left: 10px;
  background-color: rgb(184, 184, 184);
  cursor: pointer;
}

.bannerIndicator .active {
  background-color: #fff;
}

/* 新鲜好物 */
.xthhomeFresh .head {
  display: flex;
  justify-content: space-between;
  height: 70px;
  line-height: 70px;
}

.xthhomeFresh h2 {
  font-size: 30px;
  font-weight: 400;
  margin-left: 6px;
}

.xthhomeFresh h2 span {
  font-size: 16px;
  color: #999;
  margin-left: 20px;
}

.xthhomeFresh .head .watchAll {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
  color: #999;
}

.xthhomeFresh .head .watchAll:hover {
  color: rgb(39, 186, 155);
}

.xthhomeFresh .homeFresh ul {
  display: flex;
  justify-content: space-evenly;
}

.xthhomeFresh .homeFresh ul li {
  margin-left: 5px;
  margin-top: -1px;
  width: 300px;
  background-color: rgb(240, 249, 244);
}

.xthhomeFresh .homeFresh ul li:hover {
  margin-top: -3px;
  box-shadow: 5px 5px 6px 2px rgba(0, 0, 0, .2);
  transition: all .5s;
}

.xthhomeFresh .homeFresh ul img {
  height: 300px;
}

.xthhomeFresh .homeFresh p {
  font-size: 20px;
  padding: 10px 30px 8px 30px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xthhomeFresh .homeFresh .price {
  color: rgb(207, 68, 68);
}

/* 人气推荐 */
.xthhomeHot .homeHot ul img {
  height: 300px;
}

.xthhomeHot .head {
  display: flex;
  justify-content: space-between;
  height: 90px;
  line-height: 90px;
}

.xthhomeHot .head h2 {
  font-size: 30px;
  font-weight: 400;
  margin-left: 6px;
}

.xthhomeHot .head span {
  font-size: 16px;
  color: #999;
  margin-left: 20px;
}

.xthhomeHot .homeHot ul {
  display: flex;
  justify-content: space-evenly;
}

.xthhomeHot .homeHot ul li {
  margin-left: 5px;
  margin-top: -1px;
  width: 300px;
}

.xthhomeHot .homeHot p {
  padding: 10px 30px 8px 30px;
}

.xthhomeHot .homeHot .name {
  font-size: 22px;
  text-align: center;
}

.xthhomeHot .homeHot .introduce {
  font-size: 18px;
  text-align: center;
  color: rgb(153, 153, 153);
}

.xthhomeHot .homeHot ul li:hover {
  margin-top: -3px;
  box-shadow: 5px 5px 6px 2px rgba(0, 0, 0, .2);
  transition: all .5s;
}

/* 热门品牌 */
.xthhomeBrand {
  background-color: rgb(245, 245, 245);
}

.xthhomeBrand .head {
  display: flex;
  justify-content: space-between;
  height: 90px;
  line-height: 90px;
  margin-top: 30px;
}

.xthhomeBrand .head h2 {
  font-size: 30px;
  font-weight: 400;
  margin-left: 6px;
}

.xthhomeBrand .head span {
  font-size: 16px;
  color: #999;
  margin-left: 20px;
}

.xthhomeBrand .head .watchAll i {
  font-size: 22px;
  width: 20px;
  height: 20px;
}

.xthhomeBrand .watchAll i.active {
  background-color: rgb(39, 186, 155);
}

.xthhomeBrand .homeBrand {
  overflow: hidden;
  height: 305px;
}

.xthhomeBrand .homeBrand ul {
  display: flex;
  width: 200%;
  transition: all 1s;
  transform: translateX(0);
}

.xthhomeBrand .homeBrand li {
  width: 240px;
  margin-left: 5px;
}

.xthhomeBrand .homeBrand img {
  width: 100%;
  height: 100%;
}

/* 居家 */
.container .head {
  padding: 40px 0;
  display: flex;
  align-items: center;

}

.container .head h3 {
  flex: 1;
  font-size: 32px;
  font-weight: 400;
  margin-left: 6px;
  height: 35px;
  line-height: 35px;
}

.container .head .sub {
  width: 450px;
}

.container .sub a {
  padding: 2px 12px;
  font-size: 16px;
}

.container .sub a:hover {
  background-color: #27ba9b;
  border-radius: 4px;
  color: #fff;
}

.container .xthMore {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
  color: #999;
}

.container .xthMore:hover {
  color: #27ba9b;
}

.container .xthMore i {
  font-size: 20px;
  vertical-align: middle;
  color: #ccc;
}

.container .box {
  display: flex;
}

.container .box a {
  display: block;
  width: 240px;
  height: 610px;
  margin-right: 10px;
  position: relative;
}

.container .box a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .label {
  width: 188px;
  height: 66px;
  display: flex;
  font-size: 18px;
  color: #fff;
  line-height: 66px;
  font-weight: 400;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  text-align: center;
}

.container .label span:first-child {
  width: 76px;
  background: rgba(0, 0, 0, .9);
}

.container .label span:last-child {
  flex: 1;
  background: rgba(0, 0, 0, .7);
}

.container .goods-list {
  width: 990px;
  display: flex;
  flex-wrap: wrap;

}

.container .goods-list li {
  width: 229px;
  height: 300px;
  margin-right: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.container .goods-item {
  width: 240px;
  height: 300px;
  padding: 10px 30px;
  position: relative;
  border: 1px solid transparent;
  transition: all .5s;
}

.container .goods-item a {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}

.container .goods-item a img {
  width: 100%;
  height: 100%;
}

.container .goods-item p {
  margin-top: 6px;
  font-size: 16px;
}

.container .goods-item .desc {
  color: #666;
  height: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container .name {
  height: 44px;
}

.container .price {
  margin-top: 10px;
  font-size: 20px;
  color: #cf4444;
}

.container .extra {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 86px;
  width: 229px;
  background: #27ba9b;
  text-align: center;
  transform: translate3d(0, 100%, 0);
  transition: all .5s;
  opacity: 0;
}

.container .goods-list li:hover .extra {
  transition: all .5s;
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.container .goods-list li:hover {
  border: 1px solid #27ba9b;
  transition: all .5s;
}

.container .extra a {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}

.container .extra span {
  display: block;
  color: #fff;
  width: 120px;
  margin: 0 auto;
  line-height: 30px;
}

.container .extra span:first-child {
  font-size: 18px;
  border-bottom: 1px solid #fff;
  line-height: 40px;
  margin-top: 5px;
}

/* 最新专题 */
.xthhomeLatestTopic {
  background-color: rgb(245, 245, 245);
}

.container .specialList {
  display: flex;
  height: 380px;
  padding-bottom: 20px;
  justify-content: space-between;
}

.container .specialLtem {
  margin-left: 10px;
}

.container .specialLtem {
  width: 404px;
  background: #fff;
  transition: all .5s;
}

.container .specialLtem:hover {
  margin-top: -5px;
  box-shadow: 5px 5px 6px 2px rgb(0, 0, 0, .2);
}

.container .specialLtem a {
  display: block;
  width: 100%;
  height: 288px;
  position: relative;
}

.container .specialLtem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .meta {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent 50%);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 288px;
}

.container .title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding-left: 16px;
  width: 70%;
  height: 70px;
}

.container .title span {
  color: #fff;
  font-size: 22px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container .title span:last-child {
  font-size: 19px;
  color: #999;
}

.container .meta .price {
  position: absolute;
  bottom: 25px;
  right: 16px;
  line-height: 1;
  padding: 4px 8px 4px 7px;
  color: #cf4444;
  font-size: 17px;
  background-color: #fff;
  border-radius: 2px;
}

.container .foot {
  height: 72px;
  line-height: 72px;
  padding: 0 20px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}

.container .view {
  margin-left: -130px;
}

/* 尾部 */

.footer .container {
  padding: 60px 0 40px 0;
}

.footer .container ul {
  display: flex;
  color: #999;
  font-size: 18px;
  text-align: center;
}

.footer .container ul li {
  height: 190px;
  padding: 0 45px;
  border-right: 1px solid #f2f2f2;
}

.footer .container ul li:last-child {
  border: 0;
}

.footer .container em {
  display: inline-block;
  margin: 36px 12px 0 0;
  width: 92px;
  height: 92px;
  padding-top: 10px;
  border: 1px solid #ededed;
}

.footer .container em i {
  display: block;
  font-size: 26px;
}


.footer .container li:nth-child(3) em {

  padding: 7px;
  border: 1px solid #ededed;
  margin-right: 75px;
}

.footer .container li:nth-child(3) {
  position: relative;
  text-align: center;
  width: 300px;
}

.footer .container li:nth-child(3) div {
  font-size: 12px;
  position: absolute;
  top: 70px;
  right: 30px;
}

.footer .container li:nth-child(3) a {
  display: inline-block;
  line-height: 1;
  padding: 10px 25px;
  margin-top: 5px;
  color: #fff;
  border-radius: 2px;
  background-color: #27ba9b;
}

.footer .container li:nth-child(4) div {
  margin-top: 50px;
}

.footer .container i:hover {
  color: #27ba9b;
}

.extra {
  background-color: rgb(51, 51, 51);
}

.extra .slogan {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #434343;
  padding-left: 50px;
}

.extra .slogan a {
  font-size: 26px;
  color: #fff;
  padding-bottom: 50px;
  display: flex;
}

.container .slogan span:nth-child(1) {
  display: inline-block;
  width: 116px;
  height: 116px;
  background: url(../image/1.png) no-repeat;
  transform: scale(.5);
}

/* padding: 7px;
    border: 1px solid #ededed;
    margin-right: 75px;
} */

.footer .container li:nth-child(3) {
  position: relative;
  text-align: center;
  width: 300px;
}

.footer .container li:nth-child(3) div {
  font-size: 12px;
  position: absolute;
  top: 70px;
  right: 30px;
}

.footer .container li:nth-child(3) a {
  display: inline-block;
  line-height: 1;
  padding: 10px 25px;
  margin-top: 5px;
  color: #fff;
  border-radius: 2px;
  background-color: #27ba9b;
}

.footer .container li:nth-child(4) div {
  margin-top: 50px;
}

.footer .container i:hover {
  color: #27ba9b;
}

.extra {
  background-color: rgb(51, 51, 51);
}

.extra .slogan {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #434343;
  padding-left: 50px;
}

.extra .slogan a {
  font-size: 26px;
  color: #fff;
  padding-bottom: 50px;
  display: flex;
}

.container .slogan span:nth-child(1) {
  display: inline-block;
  width: 116px;
  height: 116px;
  background: url(../image/1.png) no-repeat;
  transform: scale(.5);
}


.container .slogan span:nth-child(2) {
  align-self: center;
}

.extra .copyright {
  text-align: center;
}

.extra .copyright a {
  color: #999;
  line-height: 1;
  padding: 0 10px;
  border-right: 1px solid #999;
}

.extra .copyright p {
  margin-top: 20px;
  color: #999;
  font-size: 14px;
}